' c/c++,h plugin for maxedit host

Strict

Import "../maxtk/maxtk.bmx"
'Import axe.maxedit

Import "cplugin.bmx"

Global GLSLKeywords$[]=[..
"#define","#undef","if","#ifdef","#ifndef","#else",..
"#elif","#endif","#pragma","#extension","#version","#line",..
..
"attribute","const","uniform","varying",..
"centroid",..
"break","continue","do","for","while",..
"if","else",..
"float","int","void","bool","true","false",..
"invariant",..
"discard","return",..
"mat2","mat3","mat4",..
"mat2x2","mat2x3","mat2x4",..
"mat3x2","mat3x3","mat3x4",..
"mat4x2","mat4x3","mat4x4",..
"vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4",..
"sampler1D","sampler2D","sampler3D","samplerCube",..
"sampler1DShadow","sampler2DShadow",..
"struct",..
..
"class","union","enum","typedef","template","this","packed",..
"goto","switch","default",..
"inline","noinline","volatile","public","static","extern","external","interface",..
"long","short","double","half","fixed","unsigned",..
"lowp","mediump","highp","precision",..
"input","output",..
"hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4",..
"sampler2DRect","sampler3DRect","sampler2DRectShadow",..
"sizeof","cast",..
"namespace","using"]

Global GLSLExtensions$[]=["glsl"]

Type TGLSLPlugin Extends TCPlugin

	Method New()
		name="GLSL"
		keywords=GLSLKeywords
		extensions=GLSLExtensions
	End Method
	
End Type
